export default class EnemyControl extends Laya.Script {
    /** @prop { name:Slime, tips:"", type:Prefab, default:null} */
    Slime!: Laya.Prefab;
    constructor() {
        super();
    }
    onStart(): void {
        const { x, y } = { x: 400, y: 4659 };
        const slime = this.Slime.create();
        slime.pos(x, y);
        this.owner.addChild(slime);
    }
}
